home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / src / bfunc.h < prev    next >
C/C++ Source or Header  |  1997-07-22  |  2KB  |  70 lines

  1.  
  2. /* $Id: bfunc.h,v 1.3 1997/06/25 22:08:42 pvmsrc Exp $ */
  3.  
  4. /*
  5.  *         PVM version 3.4:  Parallel Virtual Machine System
  6.  *               University of Tennessee, Knoxville TN.
  7.  *           Oak Ridge National Laboratory, Oak Ridge TN.
  8.  *                   Emory University, Atlanta GA.
  9.  *      Authors:  J. J. Dongarra, G. E. Fagg, M. Fischer
  10.  *          G. A. Geist, J. A. Kohl, R. J. Manchek, P. Mucci,
  11.  *         P. M. Papadopoulos, S. L. Scott, and V. S. Sunderam
  12.  *                   (C) 1997 All Rights Reserved
  13.  *
  14.  *                              NOTICE
  15.  *
  16.  * Permission to use, copy, modify, and distribute this software and
  17.  * its documentation for any purpose and without fee is hereby granted
  18.  * provided that the above copyright notice appear in all copies and
  19.  * that both the copyright notice and this permission notice appear in
  20.  * supporting documentation.
  21.  *
  22.  * Neither the Institutions (Emory University, Oak Ridge National
  23.  * Laboratory, and University of Tennessee) nor the Authors make any
  24.  * representations about the suitability of this software for any
  25.  * purpose.  This software is provided ``as is'' without express or
  26.  * implied warranty.
  27.  *
  28.  * PVM version 3 was funded in part by the U.S. Department of Energy,
  29.  * the National Science Foundation and the State of Tennessee.
  30.  */
  31.  
  32. /*
  33.  *    bfunc.h
  34.  *
  35.  *    Bcopy/Memcpy patch.
  36.  *
  37. $Log: bfunc.h,v $
  38.  * Revision 1.3  1997/06/25  22:08:42  pvmsrc
  39.  * Markus adds his frigging name to the author list of
  40.  *     every file he ever looked at...
  41.  *
  42.  * Revision 1.2  1997/01/28  19:27:53  pvmsrc
  43.  * New Copyright Notice & Authors.
  44.  *
  45.  * Revision 1.1  1996/09/23  23:43:11  pvmsrc
  46.  * Initial revision
  47.  *
  48.  * Revision 1.2  1994/06/03  20:38:12  manchek
  49.  * version 3.3.0
  50.  *
  51.  * Revision 1.1  1993/08/30  23:26:46  manchek
  52.  * Initial revision
  53.  *
  54.  */
  55.  
  56.  
  57. #if defined(SYSVBFUNC)
  58. #include <memory.h>
  59. #define BZERO(d,n)      memset(d,0,n)
  60. #define BCMP(s,d,n)     memcmp(d,s,n)
  61. #define BCOPY(s,d,n)    memcpy(d,s,n)
  62.  
  63. #else
  64. #define BZERO(d,n)      bzero(d,n)
  65. #define BCMP(s,d,n)     bcmp(s,d,n)
  66. #define BCOPY(s,d,n)    bcopy(s,d,n)
  67.  
  68. #endif
  69.  
  70.